package com.sws.push.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sws.common.annotation.Excel;
import com.sws.common.core.domain.BaseEntity;

/**
 * 产品信息对象 ry_product
 *
 * @author ruoyi
 * @date 2025-06-24
 */
public class RyProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品ID */
    private Long id;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String name;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 产品类别(0:护肤品 1:化妆品 2:仪器 3:套装) */
    @Excel(name = "产品类别(0:护肤品 1:化妆品 2:仪器 3:套装)")
    private Long category;

    /** 标准售价 */
    @Excel(name = "标准售价")
    private BigDecimal price;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long stock;

    /** 适用肤质(0:油性 1:干性 2:混合 3:全肤质) */
    @Excel(name = "适用肤质(0:油性 1:干性 2:混合 3:全肤质)")
    private Long suitableSkin;

    /** 主图路径 */
    @Excel(name = "主图路径")
    private String mainImage;

    /** 状态(0:下架 1:上架) */
    @Excel(name = "状态(0:下架 1:上架)")
    private Long status;

    /** 删除标志(0存在,1删除) */
    private Long delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setProductCode(String productCode)
    {
        this.productCode = productCode;
    }

    public String getProductCode()
    {
        return productCode;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }

    public void setCategory(Long category)
    {
        this.category = category;
    }

    public Long getCategory()
    {
        return category;
    }

    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }

    public void setStock(Long stock)
    {
        this.stock = stock;
    }

    public Long getStock()
    {
        return stock;
    }

    public void setSuitableSkin(Long suitableSkin)
    {
        this.suitableSkin = suitableSkin;
    }

    public Long getSuitableSkin()
    {
        return suitableSkin;
    }

    public void setMainImage(String mainImage)
    {
        this.mainImage = mainImage;
    }

    public String getMainImage()
    {
        return mainImage;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    public void setDelFlag(Long delFlag)
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productCode", getProductCode())
            .append("name", getName())
            .append("brand", getBrand())
            .append("category", getCategory())
            .append("price", getPrice())
            .append("stock", getStock())
            .append("suitableSkin", getSuitableSkin())
            .append("mainImage", getMainImage())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
